package com.dubbo1.lib;


import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@Slf4j
@EnableFeignClients(basePackages = "com.dubbo1.**.cloud")
@EnableDiscoveryClient
@EnableCircuitBreaker
@SpringBootApplication
@EnableHystrix
public class Application {
    public static void main(String[] args) {

        SpringApplication.run(Application.class, args);
        log.info(">>>>>>>>>>>>======Application run success=====<<<<<<<<<<<<<<<<<<<<<");
    }
}
